<?php
/**
 * Created by PhpStorm.
 * User: root
 * Date: 15-3-26
 * Time: 上午1:36
 */
include_once("mail.class.php");

$host="smtp.qq.com";
$port=25;
$user="674978980@qq.com";
$pass="QQ mail password";

$from="674978980@qq.com";
$to="215509032@qq.com";
$subject="Hello Body";
$content="This is example eamil for you";

$mail=new mail($host,$port,$user,$pass);
$mail->send_mail($from,$to,$subject,$content);

?>